package testdb;

import java.io.PrintWriter;
import java.sql.SQLException;

public class Testdb {

    public static void main(String[] args) throws SQLException {
        PrintWriter writer = new PrintWriter(System.out, true);
        
        RecordProducer producer = new RecordProducer(writer);
        Record record = producer.getFilledRecord();
        
        writer.printf("Record count: %s\n\n", record.getCount());
        
        new HsqldbTest(writer, record).execute();
        new H2dbTest(writer, record).execute();
        new DerbydbTest(writer, record).execute();
    }
    
}
